#ifndef GRAPHICENTITY_H
#define GRAPHICENTITY_H

#include <QtGui>

#include <defs/export.h>
#include <defs/global.h>

#include <core/entity.h>


namespace Opl{ namespace Gui {


O_PRIVATE_DECLARE(GraphicsEntity);
class EXPORTED GraphicsEntity : public QGraphicsItem {

public:
	GraphicsEntity(QGraphicsItem* parent = 0);
	virtual ~GraphicsEntity();

    virtual QRectF boundingRect() const;
    virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
private:
    O_PRIVATE_DECLARE_MEMBER(GraphicsEntity);
};

};}
#endif // GRAPHICENTITY_H

